/* 个人中心-编辑 */
.user-center {
  .con-box {
    .box-tit {
      padding: 0 15px;
      background: #f9f9f9;
      font-size: 14px;
      font-weight: 600;
      border: 1px solid #eee;
      border-bottom: 0;
      height: 36px;
      line-height: 36px;
    }
  }

  .box-content {
    border: 1px solid #eee;
    border-top: 0;
    padding: 30px 80px 20px;

    .item {
      margin-bottom: 30px;
      display: flex;
      align-items: center;

      .tit {
        width: 80px;
        text-align: right;
        margin-right: 30px;

        .asterisk {
          color: #e1251b;
          margin-right: 5px;
        }
      }

      .validcode-box {
        width: 300px;
        height: 30px;
        font-size: 12px;
      }

      .text {
        border: 1px solid #eee;
        width: 300px;
        padding: 0 10px;
        height: 30px;
        font-size: 12px;
        box-sizing: border-box;
      }

      .error-text {
        color: #e1251b;
        margin-left: 10px;
        padding-left: 19px;
        position: relative;
        height: 14px;
        line-height: 14px;

        &::before {
          position: absolute;
          left: 0;
          top: 0;
          display: block;
          width: 14px;
          height: 14px;
          content: ' ';
          font-size: 0;
          background: url(@/assets/images/icons.png) no-repeat -77px -517px;
        }
      }

      .area {
        border: 1px solid #eee;
        height: 30px;
        line-height: 30px;
        width: 116px;
        margin-right: 12px;
        font-size: 12px;
        padding: 0 20px 0 10px;
        position: relative;

        &::before {
          position: absolute;
          right: 10px;
          top: 12px;
          display: block;
          width: 0;
          height: 0;
          content: ' ';
          font-size: 0;
          border: 5px solid transparent;
          border-top: 5px solid #bcbcbc;
        }
      }

      .shop-description {
        border: 1px solid #eee;
        height: 80px;
        width: 446px;
        padding: 8px 10px;
        font-size: 12px;
        resize: none;
      }

      .img {
        margin-right: 20px;

        .file-img {
          display: block;
          border: 1px solid #eee;
          width: 100px;
          height: 100px;
          text-align: center;
          line-height: 100px;
          font-size: 24px;
          font-family: arial;
          color: #ccc;

          img {
            width: 100%;
            height: 100%;
            vertical-align: top;
          }
        }

        .img-text {
          text-align: center;
          display: block;
          line-height: 14px;
          margin-top: 5px;
          color: #999;
        }
      }

      .btn {
        padding: 5px 15px;
        background: #e1251b;
        color: #fff;
        border-radius: 2px;
        cursor: pointer;

        &:hover {
          opacity: 0.9;
        }
      }

      .user-img {
        width: 75px;
        height: 75px;
        border: 1px solid #eee;
        border-radius: 50%;
        overflow: hidden;
        font-size: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #fbfdff;

        img {
          max-width: 100%;
          max-height: 100%;
          vertical-align: middle;
        }
      }

      .edit-img {
        margin-left: 20px;
        color: #999;

        &:hover {
          color: #e1251b;
        }
      }
    }

    .validcode-box {
      .code-int-box {
        display: flex;
        align-items: center;
        justify-content: flex-start;
      }
    }

    .item.error {
      .text {
        border-color: #e1251b;
      }

      .error-text {
        display: block;
      }
    }
  }

  .en {
    .item {
      .tit {
        width: 140px;
      }

      .text {
        width: 340px;
      }
    }
  }
}

.code-int {
  width: 200px;
  padding: 0 10px;
  height: 30px;
  font-size: 12px;
  border: 1px solid #eee;
}

.send-code {
  width: 100px;
  display: inline-block;
  padding: 8px 0;
  border: 1px solid #eee;
  vertical-align: top;
  background: #f9f9f9;
  margin-left: 10px;
  text-align: center;
  color: #666;
  cursor: pointer;
}

.tips {
  color: #999;
  font-size: 14px;

  a {
    color: #999;
    font-size: 14px;

    &:hover {
      color: #02a1e9;
    }
  }
}

/* 个人中心-编辑 end */
